package com.javaclimb.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 歌单包含歌曲列表
 */
@ApiModel(value = "com-javaclimb-music-domain-ListSong")
@Data
@TableName(value = "list_song")
public class ListSong {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 歌曲
     */
    @TableField(value = "song_id")
    @ApiModelProperty(value = "歌曲")
    private Integer songId;

    /**
     * 歌单id
     */
    @TableField(value = "song_list_id")
    @ApiModelProperty(value = "歌单id")
    private Integer songListId;
}